package com.bobo.dao.user;

import com.bobo.dao.IBaseDao;
import com.bobo.model.User;

import java.util.List;

/**
 * Created by bobo on 16-10-28.
 */
public interface IUserDao extends IBaseDao<User> {

    public Integer create(User user);

    public boolean upd(User user);

    public boolean updPwd(User user);

    public User getUser(Integer id);

    public Integer getCount(Integer status);

    public List<User> getUsers(Integer current, Integer pageSize, Integer status);

    public User userCompare(String name,String email,String password);

    public User updQuery(Integer id,String password);
}
